import '@/styles/reset.css'
import '@/styles/font.css'
import '@/styles/icon.css'
import '@/styles/common_theme_styles/light.css'
import '@/styles/tail_components_theme_styles/light.css'
import '@/styles/tail_components_theme_styles/dark.css'
import '@/styles/variable.css'
import '@/styles/common.css'
import {createApp} from 'vue'
import App from './App.vue'
import router from '@/router/index.js'
import pinia from '@/store/index.js'

/**
 * 创建 vue 应用实例对象
 *
 * @type {App<Element>} vue 应用实例对象
 */
const app = createApp(App)

/**
 * 注册使用插件
 */
// 注册使用 router
app.use(router)
// 注册使用 pinia
app.use(pinia)

/**
 * 将 vue 应用实例对象挂载
 */
app.mount('#app')